@extends('desktop.template.bootstrap')
@section('content')
<div class="row">
	<main class="col-md-9"> 
		<header class="entry-header">
			<h1 class="entry-title">
				<a href="{{ url('/articles/'.$article->id) }}">{{ $article->title }}</a>
			</h1>
			<div class="entry-meta">
				<span class="ion-ios-pricetags"> <a href="{{ url('/search?categoryName='.$article->category->name) }}">{{ $article->category->name }}</a></span>
				<span class=ion-android-calendar> <a href="#"><time class="entry-date">{{ $article->created_at->format('Y-m-d h:i') }}</time></a></span>
				<span class="ion-person"> <a href="#">{{ $article->author }}</a></span>
				<span class="ion-ios-chatbubble"> <a href="#">{{ $article->comments->count() }}</a></span>
				<span class="ion-ios-eye"> <a href="#">{{ $article->read }}</a></span>
			</div>
		</header>
		<div class="entry-content clearfix">{!! $article->content !!}</div>
	</main>
	<aside class="col-md-3">
		@include('desktop.template.right')
	</aside>
</div>
@stop